Commit a08c2948 by huluobin

update

parent 3a9bc1ac
...@@ -41,7 +41,7 @@ public class TakeLeaveEvent { ...@@ -41,7 +41,7 @@ public class TakeLeaveEvent {
@ApiModelProperty("请假美甲师id") @ApiModelProperty("请假美甲师id")
private Integer applyTechnicianId; private Integer applyTechnicianId;
@ApiModelProperty("1-加班 2-调休 3-事假 4-病假 5-外出 6-婚假") @ApiModelProperty("1-加班 2-调休 3-事假 4-病假 5-外出 6-婚假 7-生日假")
private Integer type; private Integer type;
@ApiModelProperty("开始时间") @ApiModelProperty("开始时间")
......
...@@ -123,7 +123,7 @@ public class OrderManageController { ...@@ -123,7 +123,7 @@ public class OrderManageController {
} }
@ApiOperation("根据skuName查询sku") @ApiOperation("根据skuName查询sku")
@PostMapping("//technician/ordermanage/selectBySkuName") @PostMapping("/technician/ordermanage/selectBySkuName")
public JsonResult<PurchaseSku> selectBySkuName(String skuName) { public JsonResult<PurchaseSku> selectBySkuName(String skuName) {
PurchaseSku purchaseSku = purchaseSkuMapper.selectBySkuName(skuName); PurchaseSku purchaseSku = purchaseSkuMapper.selectBySkuName(skuName);
return JsonResult.success(purchaseSku); return JsonResult.success(purchaseSku);
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
<select id="selectBySkuName" resultType="com.gogirl.domain.product.purchase.PurchaseSku"> <select id="selectBySkuName" resultType="com.gogirl.domain.product.purchase.PurchaseSku">
select * select *
from purchase_sku from purchase_sku
where sku_name = #{skuName} where sku_name like concat('%', #{skuName}, '%')
limit 1
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment